package com.easondongh.business.service;

import com.easondongh.business.domain.GoodsBack;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easondongh.business.vo.GoodsBackQueryVo;
import com.easondongh.common.vo.BasePageQueryVo;
import com.easondongh.common.vo.PageResult;

/**
 * @author EasonDongH
 * @date 2020/6/2 10:42
 */
public interface GoodsBackService extends IService<GoodsBack>{

    /**
     * 处理退货
     * 当前进货数量 减  库存 减
     * @param goodsBack
     */
    void processGoodsBack(GoodsBack goodsBack);

    PageResult<GoodsBack> getByPage(BasePageQueryVo<GoodsBackQueryVo> queryCondition);
}
